<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>menus</title>
</head>
<body>
{% for menu in menus %}
    {{ menu.name }}--{{ menu.price }}  <a href="{% url 'eatwell:menus' %}?rid={{ menu.restaurant.id }}&id={{ menu.id }}">点餐</a>
    <br>
{% endfor %}


<h2>订单详情</h2>
{#菜品名称 &nbsp;&nbsp; 菜品价格&nbsp;&nbsp; 菜品数量#}
菜品名称&nbsp;&nbsp;菜品id &nbsp;&nbsp; 菜品数量
<br>
{% for cai_name,cai_id,cai_count in goods %}

    {{ cai_name }} &nbsp;&nbsp;{{ cai_id }} &nbsp;&nbsp; {{ cai_count }}
    <br>
{% endfor %}

总价:{{ total }} &nbsp;&nbsp;&nbsp; <a href="{% url 'eatwell:pay' %}">下单</a>

</body>
</html>